package com.jkoss.wine.statistics.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.activerecord.Model;


/**
 * 
 * 
 * @Author bg2it
 * @Version 1.0, 2019-08-15
 * @See
 * @Since com.jkoss.wine.statistics.entity
 * @Description: TODO
 */
public class Member extends Model<Member> {

    private static final long serialVersionUID = 1L;

    @TableId("member_id")
    private String memberId;
    /**
     * 店铺ID
     */
    @TableField("shop_id")
    private String shopId;
    /**
     * 推荐人id
     */
    @TableField("referer_id")
    private String refererId;
    /**
     * 会员姓名
     */
    @TableField("member_name")
    private String memberName;
    /**
     * 会员头像
     */
    @TableField("member_portrait")
    private String memberPortrait;
    /**
     * 性别 0女1男
     */
    @TableField("member_sex")
    private Integer memberSex;
    /**
     * 出生日期
     */
    @TableField("member_birthday")
    private Date memberBirthday;
    /**
     * 会员电话
     */
    @TableField("member_phone")
    private String memberPhone;
    /**
     * 会员状态 0正常 1停用
     */
    @TableField("member_state")
    private Integer memberState;
    @TableField("add_time")
    private Date addTime;
    /**
     * 操作人
     */
    @TableField("operator")
    private String operator;
    /**
     * 是否删除 0否1是
     */
    @TableField("del")
    private Integer del;
    @TableField("is_supper")
    private Integer isSupper;
    /**
     * 会员号
     */
    @TableField("member_num")
    private String memberNum;


    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getRefererId() {
        return refererId;
    }

    public void setRefererId(String refererId) {
        this.refererId = refererId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberPortrait() {
        return memberPortrait;
    }

    public void setMemberPortrait(String memberPortrait) {
        this.memberPortrait = memberPortrait;
    }

    public Integer getMemberSex() {
        return memberSex;
    }

    public void setMemberSex(Integer memberSex) {
        this.memberSex = memberSex;
    }

    public Date getMemberBirthday() {
        return memberBirthday;
    }

    public void setMemberBirthday(Date memberBirthday) {
        this.memberBirthday = memberBirthday;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public Integer getMemberState() {
        return memberState;
    }

    public void setMemberState(Integer memberState) {
        this.memberState = memberState;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    public Integer getIsSupper() {
        return isSupper;
    }

    public void setIsSupper(Integer isSupper) {
        this.isSupper = isSupper;
    }

    public String getMemberNum() {
        return memberNum;
    }

    public void setMemberNum(String memberNum) {
        this.memberNum = memberNum;
    }

    @Override
    protected Serializable pkVal() {
        return this.memberId;
    }

    @Override
    public String toString() {
        return "Member{" +
        ", memberId=" + memberId +
        ", shopId=" + shopId +
        ", refererId=" + refererId +
        ", memberName=" + memberName +
        ", memberPortrait=" + memberPortrait +
        ", memberSex=" + memberSex +
        ", memberBirthday=" + memberBirthday +
        ", memberPhone=" + memberPhone +
        ", memberState=" + memberState +
        ", addTime=" + addTime +
        ", operator=" + operator +
        ", del=" + del +
        ", isSupper=" + isSupper +
        ", memberNum=" + memberNum +
        "}";
    }
}
